package br.com.ianalise.outros;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class pegarIP {
	/**
	 * RETORNA O NÚMERO DE IP
	 */
	public static String localhost() {
		try {
			return InetAddress.getLocalHost().getHostAddress();
		} catch (UnknownHostException e) {
			return new String("127.0.0.1");
		}
	}
}
